Skip to content

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jun 17, 2025

As noted in the new tests, there are a few situations we must carefully accommodate
for functions that get pickled during interp.call(). We do so by running the script
from the main interpreter's main module in a hidden module in the other
interpreter. That hidden module is used as the function globals.
(cherry picked from commit 269e19e)

Co-authored-by: Eric Snow [email protected]

…-135595)

As noted in the new tests, there are a few situations we must carefully accommodate
for functions that get pickled during interp.call().  We do so by running the script
from the main interpreter's __main__ module in a hidden module in the other
interpreter.  That hidden module is used as the function __globals__.
(cherry picked from commit 269e19e)

Co-authored-by: Eric Snow <[email protected]>
@ericsnowcurrently ericsnowcurrently enabled auto-merge (squash) June 17, 2025 19:18
@ericsnowcurrently ericsnowcurrently merged commit 2c29ee8 into python:3.14 Jun 17, 2025
74 of 76 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants